package com.mdd.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("律师列表实体")
@TableName("legal_lawyer")
public class LegalLawyer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "")
    private Long id;

    @ApiModelProperty(value = "地区ID")
    private Long aId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "真实姓名")
    private String realname;

    @ApiModelProperty(value = "形象照片（个人中心设置）")
    private String avatar;

    @ApiModelProperty(value = "性别 1男 2女")
    private Integer gender;

    @ApiModelProperty(value = "身份证号")
    private String idNumber;

    @ApiModelProperty(value = "联系方式-手机号")
    private String mobile;

    @ApiModelProperty(value = "所属律所")
    private String lawOffice;

    @ApiModelProperty(value = "律所地址")
    private String lawOfficeAddress;

    @ApiModelProperty(value = "所属城市id")
    private Long cityId;

    @ApiModelProperty(value = "所属地区id")
    private Long areaId;

    @ApiModelProperty(value = "从业开始时间")
    private Date workBeginDate;

    @ApiModelProperty(value = "工作年限")
    private BigDecimal workYears;

    @ApiModelProperty(value = "执业分类 1专职律师 2兼职律师")
    private Integer jobType;

    @ApiModelProperty(value = "职业证书文件")
    private String lawyerCertFiles;

    @ApiModelProperty(value = "其他辅助证书文件")
    private String otherCertFiles;

    @ApiModelProperty(value = "身份证照片")
    private String idCardFiles;

    @ApiModelProperty(value = "擅长领域")
    private String skilledField;

    @ApiModelProperty(value = "业务范围")
    private String businessScope;

    @ApiModelProperty(value = "0待审核 1审核通过 2被驳回")
    private Integer status;

    @ApiModelProperty(value = "驳回原因")
    private String refuseRemark;

    @ApiModelProperty(value = "删除时间")
    private Date deletedAt;

    @ApiModelProperty(value = "审核时间")
    private Date checkTime;

    @ApiModelProperty(value = "审核人")
    private Long checkUser;

    @ApiModelProperty(value = "佣金比例")
    private BigDecimal commissionRate;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "联系地址（个人中心设置）")
    private String linkAddress;

    @ApiModelProperty(value = "职业证书编号")
    private String lawyerCertNumber;

    @ApiModelProperty(value = "所属销售")
    private Long salesman;

}